<!doctype html>
<html lang="en">

<head>
        <meta charset="utf-8">
        <title>DingYue.me</title>

        <!-- Force mobile devices to turn fullscreen mode -->
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

        <!-- Stylesheet assets -->
        <link rel="stylesheet" href="css/reset.css">
        <!-- /Stylesheet assets -->

        <!-- Template stylesheet -->
        <link href="css/style.css" rel="stylesheet">
        <!-- /Template stylesheet -->

        <!-- Color scheme stylesheet -->
        <link href="css/colors-light.css" rel="stylesheet">
        <!-- /Color scheme stylesheet -->

        <!-- Customizer stylesheet -->
        <link href="css/customizer.css" rel="stylesheet">
        <!-- /Customizer stylesheet -->
    </head>

    <body class="countdown-animated">
      <div id="main">
        <!-- LOGO -->
        <img id="logo" alt="Magnetic Logo" src="img/logo1.png" class="magnetic">
        <!-- /LOGO -->

        <!-- SUBHEADER -->
        <p id="subheader"><span class="magnetic"> </span></p>
        <!-- /SUBHEADER -->

        <!-- DESCRIPTION -->
        <p id="description"></p>
        <!-- /DESCRIPTION -->

        <table rules="none" frame="void"> 

        <tr>
          <?php
            @header('Content-Type: text/html; charset=utf-8');
            include_once('../bakend/register.php');
            $email = $_POST["email"];
            $keywords = $_POST["keywords"];
            $board = $_POST["board"];
            smth_register($email, $keywords, $board);
            if (smth_check($email, $keywords, $board))
            {
              echo "[$email] 关键词 [$board][$keywords] 订阅成功！\n";
              dispatch_one_user($email);
            }
          ?>
        </tr>

        </table>
      </div>

      <!-- VERTICAL ALIGN HELPER -->
      <div id="helper"></div>
      <!-- /VERTICAL ALIGN HELPER -->
    </body>

</html>
